<template>
  <div class="box-shadow">
    <el-tabs v-model="resourceType">
      <el-tab-pane :label="$t('图片库')" name="0">
        <PicResource></PicResource>
      </el-tab-pane>
      <el-tab-pane :label="$t('视频库')" name="1">
        <VideoResource></VideoResource>
      </el-tab-pane>
      <el-tab-pane :label="$t('音频库')" name="2">
        <AudioResource></AudioResource>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import PicResource from "./components/PicResource.vue";
import AudioResource from "./components/AudioResource.vue";
import VideoResource from "./components/VideoResource.vue";
export default {
  name: "Resource",
  components: {
    PicResource,
    AudioResource,
    VideoResource,
  },
  data() {
    return {
      resourceType: "0",
    };
  },
  created() {},
};
</script>